<?php include _include(APP_PATH.'view/htm/header.inc.htm');?>

<!--{hook my_profile_start.htm}-->

<div class="row">
	<div class="col-lg-6 offset-lg-3">
		<div class="card">
			<div class="card-header"><?php echo lang('my_profile');?></div>
			<div class="card-body">
				<div class="row">
					<div class="col-sm-6">
						<p><span class="text-muted"><?php echo lang('username');?>：</span><span><?php echo $user['username'];?></span></p>
						<p><span class="text-muted"><?php echo lang('email');?>：</span><span><?php echo $user['email'];?></span></p>
						<p><span class="text-muted"><?php echo lang('user_group');?>：</span><span><?php echo $user['groupname'];?></span></p>
						<p><span class="text-muted"><?php echo lang('create_date');?>：</span><span><?php echo $user['create_date_fmt'];?></span></p>
						<p><span class="text-muted"><?php echo lang('last_login_date');?>：</span><span><?php echo $user['login_date_fmt'];?></span></p>
						<!--{hook my_profile_login_date_after.htm}-->
					</div>
					<div class="col-sm-6">
						<p><span class="text-muted"><?php echo lang('threads');?>：</span><span><?php echo $user['threads'];?></span></p>
						<p><span class="text-muted"><?php echo lang('posts');?>：</span><span><?php echo $user['posts'];?></span></p>
						<!--{hook my_profile_posts_after.htm}-->
					</div>
				</div>
			</div>
			<!--{hook my_profile_row_after.htm}-->
		</div>
		<a role="button" class="btn btn-secondary btn-block mb-3" href="<?php echo url('my');?>"> <?php echo lang('back');?> </a>
	</div>
	<!--{hook my_profile_card_after.htm}-->
</div>

<!--{hook my_profile_end.htm}-->

<?php include _include(APP_PATH.'view/htm/footer.inc.htm');?>